<template>
    <div>
        <h2 ref="title">哈哈</h2>
        <NavBar></NavBar>
    </div>
</template>

<script>
import NavBar from './NavBar.vue'
export default {
    components: { NavBar },
    data() {
        return {
            rootMsg: 123
        }
    },
    methods: {
        rootMethod() {
            alert("root hello")
        }
    },
}
</script>

<style lang="scss" scoped>
</style>